<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <!-- 
        defer 是异步加载js文件，按照顺序执行js文件。
        async 是异步加载js文件，谁先加载完毕谁先执行js代码。
     -->
    <script async src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js
    "></script>
    <script async src="https://cdn.bootcdn.net/ajax/libs/lodash.js/4.17.21/lodash.min.js"></script>
    <script async src="./a.js"></script>

    <!-- <script async>
        console.log($,_,"这里执行了代码， 这个代码是jquery执行完毕，并且lodash执行完毕才会执行")
    </script> -->
</body>
</html>